package com.ruoyi.voucher.domain.dto.req;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @description: 模版添加请求对象
 * @author: Yuan
 * @create: 2025-02-27 10:30
 **/
@Data
public class TemplateAddReqDTO {

    private Long id;
    @NotBlank(message = "模版名称不能为空")
    private String templateName;
    @NotNull(message = "模版类型不能为空")
    private Long templateType;
    private List<TemplateDetailReqDTO> details;

}
